package com.ynet.middleground.riskmanage.bean.newrizhaogang;

import com.ynet.core.common.BaseReqObj;
import com.ynet.middleground.riskmanage.bean.qdg.QdgRegisterCustomerReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @author songyf
 * @description 注册用户
 * @date 2022-05-12 15:42
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "新日照港注册用户请求信息", description = "新日照港注册用户请求信息")
public class NewRzgRegisterCustomerReq extends BaseReqObj {

    private static final long serialVersionUID = -4387683104607401779L;

    @ApiModelProperty(value = "组织机构代码", notes = "组织机构代码")
    private String czhjgdm;

    @ApiModelProperty(value = "客户id", notes = "客户id")
    private String customerid;

    @ApiModelProperty(value = "客户全称", notes = "客户全称")
    private String fullname;

    @ApiModelProperty(value = "用户授权协议链接地址", notes = "用户授权协议链接地址")
    private String url;

    @ApiModelProperty(value = "客户类型（新增、更名）", notes = "客户类型（新增、更名）")
    private String type;

    @ApiModelProperty(value = "更名客户原id", notes = "更名客户原id")
    private String customeridold;

    @ApiModelProperty(value = "更名客户原全称", notes = "更名客户原全称")
    private String fullnameold;

    @ApiModelProperty(value = "系统标志(0:日照港1:青岛港前湾港2:烟台港)", notes = "系统标志(0:日照港1:青岛港前湾港2:烟台港)", required = true)
    @NotBlank(message = "系统标志不能为空")
    private String chanType;

    @ApiModelProperty(value = "企业信息同步请求信息（青岛港专用）", notes = "企业信息同步请求信息（青岛港专用）")
    private QdgRegisterCustomerReq qdgRegisterCustomerReq;

}
